﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using VendingMachine;

/*
 A vending machine sells items for various prices and can give change. At the start of the day it is loaded 
 with a certain number of coins of various denominations e.g. 100 x 1p, 50 x 5p, 50 x 10p etc. When a 
 drink is requested a certain number of coins are provided. Write code which models the state of the
 machine and calculates the change to be given when an item is purchased (e.g. 2 x 20p used to purchase 
 an item costing 25p might return 1 x 10p and 1 x 5p).
 */

namespace VendingMachine
{

    public enum VendingMachineStatus
    {
        Open,
        Closed
    }


    public enum CoinDenominations
    {
        OnePence,
        FivePence,
        TenPence,
        TwentyPence,
        FiftyPence,
        OnePound,
        TwoPound
    }


    public class VendingMachineBootStrap
    {
        public VendingMachine VendingMachine { get; private set; }

        public static void Main(string[] args)
        {
            VendingMachineBootStrap vendingMachineBootStrap = new VendingMachineBootStrap();
            vendingMachineBootStrap.StartUp();

        }

        private void StartUp()
        {
            VendingMachine = new VendingMachine();
            VendingMachine.StartUp();
        }
    }
}